// src/data/mockData.js
const departments = [
    '审批局',
    '财政金融局',
    '建设发展局',
    '投资促进局',
    '经济发展局',
    '综协办公室',
    '行政审批局',
    '党政综合办公室',
    '档案室'
];

const generateUsers = () => {
    const users = [];
    let userId = 1;

    departments.forEach((dept) => {
        for (let i = 1; i <= 5; i++) {
            users.push({
                id: userId++,
                name: `${dept.slice(0, -1)}${i}`, // 生成类似 "审批1", "财政2" 的名字
                department: dept
            });
        }
    });

    return users;
};

const users = generateUsers();

export { departments, users };
